package edu.nf.meituan.model.shop;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nf.db.util.Column;

import java.sql.Date;
import java.sql.Timestamp;
import java.time.LocalDateTime;


/***
 * 商家实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Shop {

    /**
     * 商家id
     */
    @Column("shop_id")
    private Integer shopId;
    /**
     * 商家图片
     */
    @Column("shop_img")
    private String shopImg;
    /**
     * 类型id
     */
    @Column("shop_types_id")
    private Integer shopTypesId;
    /**
     * 用户id
     */
    @Column("u_id")
    private Integer uid;
    /**
     * 商家名称
     */
    @Column("shop_name")
    private String shopName;
    /**
     * 商家手机号
     */
    @Column("shop_phone")
    private String shopPhone;
    /**
     * 商家地址
     */
    @Column("shop_address")
    private String shopAddress;
    /**
     * 商家创建时间
     */
    @Column("shop_create_at")
    private LocalDateTime shopCreatedAt;
}
